package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.supermarket.domain.InportGoods;

public class InportGoodsChild extends InportGoods {
    private String supplierName;
    private String goodName;

    public InportGoodsChild() {
       super();
    }

    public InportGoodsChild(String supplierName, String goodName, InportGoods inportGoods) {
        super(inportGoods);
        this.supplierName = supplierName;
        this.goodName = goodName;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Override
    public String toString() {
        return "InportGoodsChild{" +
                "supplierName='" + supplierName + '\'' +
                ", goodName='" + goodName + '\'' +
                "} " + super.toString();
    }
}
